package vashion.azeroth.core.pojo.common;

import lombok.Data;
import vashion.azeroth.core.pojo.BaseObject;

import java.util.Date;

/**
 * Created by tingting on 15/9/5.
 */
@Data
public class OperateFlowDO extends BaseObject {

    public OperateFlowDO() {
    }

    public OperateFlowDO(long operateId, String operateMsg, String operateType) {
        this.gmtCreate = new Date();
        this.gmtModified = new Date();
        this.operateId = operateId;
        this.operateMsg = operateMsg;
        this.operateType = operateType;
    }

    /**
     * column operate_flow.id
     */
    private Long id;

    /**
     * column operate_flow.gmt_create
     */
    private Date gmtCreate;

    /**
     * column operate_flow.gmt_modified
     */
    private Date gmtModified;

    /**
     * column operate_flow.operateId
     */
    private long operateId;


    /**
     * column operate_flow.attributes
     */
    private String operateMsg;

    /**
     * 操作类型，参照：vashion.azeroth.core.pojo.common.OperateFlowEnum
     */
    private String operateType;
}
